<!--
 * @Date: 2024-06-13 17:50:38
 * @LastEditTime: 2024-06-14 16:42:02
 * @Description: lol- 召唤师技能图标
-->
<template>
  <div class="shadow-sm bg-gray-200 w-6 h-6">
    <el-image
      v-if="iconId"
      class="w-6 h-6"
      :src="`https://wegame.gtimg.com/g.26-r.c2d3c/helper/lol/assis/images/resources/summonability/${iconId}.png`"
    >
      <template #error>
        <div class="image-slot"></div>
      </template>
    </el-image>
  </div>
</template>

<script setup>
defineProps({
  iconId: [String, Number]
})
</script>